package com.mop.sg2.msg.base;

import com.mop.sg2.logcial.base.BaseLogical;

public class MsgConfigBean {

	private String msgName = null;

	private short msgType = 0;

	private Class<? extends BaseLogical> logical = null;

	private Class<? extends BaseMsg> msg = null;

	public MsgConfigBean(String msgName, short msgType,
			Class<? extends BaseLogical> logical, Class<? extends BaseMsg> msg) {
		this.msgName = msgName;
		this.msgType = msgType;
		this.logical = logical;
		this.msg = msg;
	}

	public String getMsgName() {
		return msgName;
	}

	public void setMsgName(String msgName) {
		this.msgName = msgName;
	}

	public short getMsgType() {
		return msgType;
	}

	public void setMsgType(short msgType) {
		this.msgType = msgType;
	}

	public Class<? extends BaseLogical> getLogical() {
		return logical;
	}

	public void setLogical(Class<? extends BaseLogical> logical) {
		this.logical = logical;
	}

	public Class<? extends BaseMsg> getMsg() {
		return msg;
	}

	public void setMsg(Class<? extends BaseMsg> msg) {
		this.msg = msg;
	}

}
